﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopActivity")]
    public class TopActivity : BaseObject
    {
        //begin
        public TopActivity()
        {}
        public TopActivity(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _ActivityId;
        public string ActivityId
        {
            get
            {
                return _ActivityId;
            }
            set
            {
                SetPropertyValue("ActivityId", ref _ActivityId, value);
            }
        }
        private string _CouponId;
        public string CouponId
        {
            get
            {
                return _CouponId;
            }
            set
            {
                SetPropertyValue("CouponId", ref _CouponId, value);
            }
        }
        private long _TotalCount;
        public long TotalCount
        {
            get
            {
                return _TotalCount;
            }
            set
            {
                SetPropertyValue("TotalCount", ref _TotalCount, value);
            }
        }
        private long _AppliedCount;
        public long AppliedCount
        {
            get
            {
                return _AppliedCount;
            }
            set
            {
                SetPropertyValue("AppliedCount", ref _AppliedCount, value);
            }
        }
        private long _PersonLimitCount;
        public long PersonLimitCount
        {
            get
            {
                return _PersonLimitCount;
            }
            set
            {
                SetPropertyValue("PersonLimitCount", ref _PersonLimitCount, value);
            }
        }
        private string _Status;
        public string Status
        {
            get
            {
                return _Status;
            }
            set
            {
                SetPropertyValue("Status", ref _Status, value);
            }
        }
        private string _ActivityUrl;
        public string ActivityUrl
        {
            get
            {
                return _ActivityUrl;
            }
            set
            {
                SetPropertyValue("ActivityUrl", ref _ActivityUrl, value);
            }
        }
        private string _CreateUser;
        public string CreateUser
        {
            get
            {
                return _CreateUser;
            }
            set
            {
                SetPropertyValue("CreateUser", ref _CreateUser, value);
            }
        }
        //end
    }
}
